package test;

public class BasketBallPlayer extends Player implements LearnEnglish{



    public BasketBallPlayer() {
    }

    public BasketBallPlayer(String name, int age) {
        super(name, age);
    }

    @Override
    public void study() {
        System.out.println("姓名是"+getName()+"年龄是"+getAge()+"的篮球球运动员在学扣篮");

    }

    @Override
    public void learnEnglish() {
        System.out.println("姓名是"+getName()+"年龄是"+getAge()+"的篮球球运动员在学英语");

    }
}
